{config_load file="$language/lang.conf" section="checkout_payment"}
<h1 class="contentBoxHeading">{#heading_payment#}</h1>
{$FORM_ACTION}
{if $error!=''}
<table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBoxNotice">
		          <tr class="infoBoxNoticeContents">
		            <td><table border="0" width="100%" cellspacing="0" cellpadding="2">
		              <tr>
		                <td>&nbsp;</td>
		                <td class="main" width="100%" valign="top">{$error}</td>
		                <td>&nbsp;</td>
		              </tr>
		            </table></td>
		          </tr>
		        </table>
{/if}
<table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td class="main">&nbsp;</td>
        </tr>
{if $BILLING_ADDRESS=='true'} 
  <tr>
    <td><strong>{#title_address#}</strong></td>
  </tr>
{/if}
</table> 
{if $BILLING_ADDRESS=='true'} 
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td style="border-top: 1px solid; border-color: #cccccc;">
	  <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td class="main">{#text_address#}<br /><br />{$BUTTON_ADDRESS}</td>
          <td>
		    <table width="100%" border="0" cellspacing="0" cellpadding="4">
              <tr> 
                <td align="center" valign="top" class="main"><strong>{#title_address#}</strong><br /><img src="{$tpl_path}img/arrow_south_east.gif" alt="" /></td>
                <td class="boxTextBG" style="border-right: 1px solid; border-color: #cccccc;" align="left">{$ADDRESS_LABEL}</td>
              </tr>
            </table></td>
        </tr>
      </table></td>
  </tr>
</table>
{/if}
<table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td class="main">&nbsp;</td>
        </tr>
  <tr>
    <td><strong>{#title_payment#}</strong></td>
  </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr> 
    <td style="border-top: 1px solid; border-color: #cccccc;">
	  <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td style="border-right: 1px solid; border-color: #cccccc;" valign="top" class="main">{#text_payment#}<br /><br />
		    <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td class="main">{if $GV_COVER!='true'}{$PAYMENT_BLOCK}{$module_gift}{else} 
                  <table width="100%"  border="0">
                    <tr>
                      <td class="headerMessage" align="center">{#text_gccover#}</td>
                    </tr>
                  </table>
                {/if}</td>
              </tr>
            </table></td>
        </tr>
      </table></td>
  </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td class="main">&nbsp;</td>
        </tr>
  <tr>
    <td><strong>{#title_comments#}</strong></td>
  </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr> 
    <td style="border-top: 1px solid; border-color: #cccccc;">
	  <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td style="border-right: 1px solid; border-color: #cccccc;" valign="top" class="main"><br />
		    <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td>{$COMMENTS}</td>
              </tr>
            </table></td>
        </tr>
      </table></td>
  </tr>
</table>
{if $conditions=='true'}
<table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td class="main">&nbsp;</td>
        </tr>
  <tr>
    <td><strong>{#title_agb#}</strong>&nbsp;{$AGB_LINK}</td>
  </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr> 
    <td style="border-top: 1px solid; border-color: #cccccc;">
	  <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td style="border-right: 1px solid; border-color: #cccccc;" valign="top" class="main"><br />
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td class="main">{$AGB}</td>
              </tr>
              <tr>
                <td style="border: 1px solid; border-color: #ff0000;" class="conditions">{$AGB_checkbox} <strong>{#text_accept_agb#}</strong></td>
              </tr>
            </table></td>
        </tr>
      </table></td>
  </tr>
</table>
{/if}
<table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td class="main">&nbsp;</td>
        </tr>
  <tr> 
    <td style="border-top: 1px solid; border-color: #cccccc;">
	  <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td style="border-right: 1px solid; border-color: #cccccc;" valign="top" class="main"><strong>{#title_continue#}</strong><br />{#text_continue#}<br /><br />
		    <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td align="right">{$BUTTON_CONTINUE}</td>
              </tr>
            </table></td>
        </tr>
      </table></td>
  </tr>
</table>
{$FORM_END}
<table width="100%" border="0" cellspacing="0" cellpadding="0">
 <tr>   
 <td>&nbsp;</td>
 </tr>
          <tr>            
          <td width="25%"><center>01. {#text_shipping_info#}</center></td>            
          <td width="25%"><center><b>02. {#text_payment_info#}</b></center></td>            
          <td width="25%"><center>03. {#text_confirm#}</center></td>            
          <td width="25%"><center>04. {#text_finished#}</center></td>
          </tr>
</table>